package com.xiyu.service.repository.mailbox.folder;

import com.xiyu.service.model.mailbox.folder.MailboxFolderNameMapping;
import com.xiyu.service.model.mailbox.folder.MailboxFolderNameMappingTable;
import org.babyfish.jimmer.spring.repository.JRepository;

import java.util.Optional;

public interface MailboxFolderNameMappingRepository extends JRepository<MailboxFolderNameMapping, Long> {
    MailboxFolderNameMappingTable mailboxFolderNameMappingTable = MailboxFolderNameMappingTable.$;

    Optional<MailboxFolderNameMapping> findByPostOfficeFolderName(String postOfficeFolderName);

}